///Functions descriptionpaper cut
///Parameter descriptionPortNoserial port 1->COM1 2->COM2 3->COM3 etc.  Baudrate,9600,19200,38400,115200 the same below
///Returned value : 0succeed Not 0fail   the same below

long CutPaper(long PortNo, long Baud);  ///for example: CutPaper(1,9600);  ///serial port 1Baudrate 9600

////Fuction descriptionfeed paper iMn mm
///Parameter descriptioniMmunit mmthe printer feed paper

long FeedPaper(long PortNo, long Baud, long iMm);  ///for example: FeedPaper(1,9600,10);  ///serial port1Baudrate 9600Feed paper 10mm

////Fuction descriptionprint character string 
///Parameter descriptionStrToPrint, typewirtten character string, the following with Enter, print character string immediately, the following without Enter, full line or the command FeedPaper, print character string
///len, character string length, includes the length of Enter, for example "123456789\n"the length is 10

long PrintString(long PortNo, long Baud, LPCTSTR StrToPrint, long len);


////Functions descriptionset the multiple of the character 
///Parameter descriptionxSize horizontal direction0-1 times1-2 times7-8 times 
 //////      ySize vertical direction0-1times1-2times7-8times

long SetFontSize(long PortNo, long Baud, long xSize, long ySize) 



////Fuction descriptionprint code39 bar code
///Parameter descriptionStrBarcode  need to print character string to bar codefor example "0123456789123"
 //////      len :  the length of character stringalso the length of StrBarcode 

long PrintCode39(long PortNo, long Baud, LPCTSTR StrBarcode, long len) 



////Fuction descriptionSet set the multiple of the character
///Parameter description
////Affect width width 2~6  set according to resultusuallyget 3if too much, get 2
////Affect height height 1~255  picture element point height 

long CPRINTOCXCtrl::SetBarSize(long PortNo, long Baud, long Width, long Height) 
